Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

You Can Use Service.GetLastFault

see details in lsxsd.lss
it is in the folder of Lotus notes
example:
Function taskBatchSynch(arg0 As SynchData_n3) As SynchResult_n3
On Error Goto errh
Set taskBatchSynch = Service.Invoke("taskBatchSynch", arg0)
Exit Function
errh:
On Error Goto errh2
Dim wf As WS_FAULT
Set wf=Service.GetLastFault()
If Not wf Is Nothing Then
'Msgbox a.a 'won't goto errh2!why?
If taskBatchSynch Is Nothing Then
Dim tmp As SynchResult_n3
Set tmp=New SynchResult_n3()
tmp.success=False
Set strObj=New XSD_STRING
Call strObj.setValueFromString(wf.getFaultString())
Set tmp.message=strObj
Set taskBatchSynch=tmp
End If
End If
Exit Function
errh2:
Print Erl & "," & Error
Msgbox Erl & "," & Error
Exit Function
End Function


Feedback response number WEBB93CDJF created by ~James Nimfreeterobu on 12/26/2012

web service - consumer - how to use... (~Lorraine Desre... 27.Aug.09)
. . Code is ok (~Lorraine Desre... 31.Aug.09)
. . . . Idea (~Miriam Desgero... 11.Dec.09)
. . . . WS_FAULT usage (~Sanjay Nonjumi... 17.Oct.12)
. . You Can Use Service.GetLastFault (~James Nimfreet... 26.Dec.12)
. . . . Thanks (~Sanjay Nonjumi... 14.Feb.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS